//
//  NetworkTools.swift
//  HMWeibo
//
//  Created by HuaMou.Chen on 15/11/29.
//  Copyright © 2015年 HuaMou.Chen. All rights reserved.
//

import UIKit

class NetworkTools: NSObject {
    private let appKey = "67589354"
    private let redirectURL = "http://www.baidu.com"
    
    static let shareNetworkTools = NetworkTools()
    var oauthURL: NSURL {
        
        let urlString = "https://api.weibo.com/oauth2/authorize?client_id=\(appKey)&redirect_uri=\(redirectURL)"
        
        return NSURL(string: urlString)!
    }
    
}
